package com.example.demo;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Collection;

/**
 * Created by liyong on 2017/7/8.
 */
@RestController
@RequestMapping("user")
public class UserController {

    private Logger logger=LoggerFactory.getLogger(UserController.class);

    @RequestMapping("show")
    public String show() {
        logger.error("正在加载数据。。。。。");
        return "show";
    }

}
